The SystemDir Function is a simple utility type function that returns a string value representing the machine's System Directory. Because Windows does not always reside in a folder named Windows neither does System.
Usage:
Dim SysPath As String
SysPath = Reg.SystemDir
(c)1998 Silicon Prairie Software Co. All rights reserved.